Fix grapheme breaks on string-initial (#205)
authorSteven G. Johnson <stevenj@mit.edu>
Mon, 23 Nov 2020 19:10:29 +0000 (14:10 -0500)
committerGitHub <noreply@github.com>
Mon, 23 Nov 2020 19:10:29 +0000 (14:10 -0500)
commit0643a64479958151a822827e38a058b0198e8cee
tree535269ab92cdc25738da19591f10f88061eb99cf
parent6f7d73071afc272dd07b06e72cf2c489402c13e7
Fix grapheme breaks on string-initial (#205)

* Fix extended emoji + zwj combo

* Patch initial repeated regional flags and extended+zwj emoj

* Merge conditions for setting breaks bt region

* updated fix

* perform tests for both utf8proc_map and manual calls to utf8proc_grapheme_break_stateful

* consolidate tests

Co-authored-by: Thomas Marks <marksta@umich.edu>
test/graphemetest.c
utf8proc.c